package com.zidongxiangxi.sharding.job.starter.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 分片任务配置
 *
 * @author chenxudong
 * @date 2021/02/22
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "sharding-job")
public class ShardingJobSpringConfig {
    /**
     * 应用名
     */
    private String applicationName;

    /**
     * zookeeper配置
     */
    private ShardingJobSpringZookeeperConfig zookeeper = new ShardingJobSpringZookeeperConfig();

}
